package com.xhui.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xhui.reggie.common.R;
import com.xhui.reggie.dto.OrderDTO;
import com.xhui.reggie.entity.Orders;

/**
 * Author XHui
 * Date 2023/1/21 21:27
 * Version 1.0
 */
public interface OrderService extends IService<Orders> {

    /**
     * 用户下单
     * @param orders --> addressBookId payMethod remark
     */
    void submit(Orders orders);

    Page<OrderDTO> orderDetails(int page, int pageSize);
}
